﻿Sys.Application.add_load(initMirror);

function initMirror() {
    var content = $("#fakeContainer").html().toString();
    var content = content.replace(new RegExp(' id=".*?"', "g"), '');
    var credits = $(".Credits");
    credits.before(content);

    if (typeof(CallUnlockService) == 'function') {
        $("a.unlock").unbind('click', CallUnlockService);
        $("a.unlock").bind('click',CallUnlockService);
    }
}